package com.xasz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xasz.entity.Activity;
import com.xasz.entity.Jury;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cai
 * @since 2022-07-28
 */
public interface IJuryService extends IService<Jury> {
    /**
     * 增加评委
     */
    void addJury(Jury jury,Integer Uid);

    void addAllJury(Jury jury,Integer Uid);

    /**
     * 删除评委
     */
    void detectJury(Integer activityId,Integer id,Integer Uid,String username);

    /**
     * 通过活动id查询有哪些评委
     */
    List<Jury> selectByAid(Integer Aid,Integer Uid);
}
